//
// Created by Administrator on 2021/10/13.
//

#ifndef MRENDER_HELLOASSERT_H
#define MRENDER_HELLOASSERT_H
#include "MBaseException.h"

#define m_check(ex, msg) { if(!ex) throw MBaseException(__FILE__, __LINE__, #ex, msg); }
#define m_assert(ex) { if(!ex){ throw MBaseException(__FILE__, __LINE__, #ex); } }

#endif //MRENDER_HELLOASSERT_H
